var zan = require('../../zanui/index');

Page(Object.assign({}, zan.Toast, {

  data: {

  },

  onLoad: function (options) {

  },

  formSubmit: function (e) {
    var that = this;
    console.log(e.detail);
    var content = e.detail.value.content;
    console.log(content);
    var message = "提交成功";
    if (content == "") {
      message = "意见反馈不能为空";
    }
    that.showZanToast(message);

  }

}));